package com.xt.purchasingsystem.feign.impl;

import com.xt.purchasingsystem.dto.OutboundProcurementDto;
import com.xt.purchasingsystem.feign.PurchaseManagementClient;
import com.xt.purchasingsystem.utils.Result;
import com.xt.purchasingsystem.utils.ResultFactory;

/**
 * 采购模块客户端调用服务熔断实现类
 * @author: 老姚
 * Date:  2020/6/6 18:32
 */
public class PurchaseManagementClientImpl implements PurchaseManagementClient {
    @Override
    public Result saveOutboundProcurement(OutboundProcurementDto outboundProcurementDto) {
        return  ResultFactory.buildErrorResult("超时或异常");
    }
}
